/////////////////////////////////////////////////////////////////////////////
// Name:        dgt_Mainframe.h
// Purpose:     
// Author:      Aleksey Plotnikov
// Modified by: 
// Created:     01/12/2010 17:02:59
// RCS-ID:      
// Copyright:   Diamant Software - all rights reserved
// Licence:     
/////////////////////////////////////////////////////////////////////////////

#ifndef _DGT_MAINFRAME_H_
#define _DGT_MAINFRAME_H_


/*!
 * Includes
 */

////@begin includes
#include "wx/frame.h"
////@end includes

/*!
 * Forward declarations
 */

////@begin forward declarations
////@end forward declarations

/*!
 * Control identifiers
 */

////@begin control identifiers
#define ID_DGT_MAINFRAME 10000
#define SYMBOL_DGT_MAINFRAME_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
#define SYMBOL_DGT_MAINFRAME_TITLE _("Digital Studio")
#define SYMBOL_DGT_MAINFRAME_IDNAME ID_DGT_MAINFRAME
#define SYMBOL_DGT_MAINFRAME_SIZE wxSize(400, 300)
#define SYMBOL_DGT_MAINFRAME_POSITION wxDefaultPosition
////@end control identifiers


/*!
 * dgt_Mainframe class declaration
 */

class dgt_Mainframe: public wxFrame
{    
    DECLARE_CLASS( dgt_Mainframe )
    DECLARE_EVENT_TABLE()

public:
    /// Constructors
    dgt_Mainframe();
    dgt_Mainframe( wxWindow* parent, wxWindowID id = SYMBOL_DGT_MAINFRAME_IDNAME, const wxString& caption = SYMBOL_DGT_MAINFRAME_TITLE, const wxPoint& pos = SYMBOL_DGT_MAINFRAME_POSITION, const wxSize& size = SYMBOL_DGT_MAINFRAME_SIZE, long style = SYMBOL_DGT_MAINFRAME_STYLE );

    bool Create( wxWindow* parent, wxWindowID id = SYMBOL_DGT_MAINFRAME_IDNAME, const wxString& caption = SYMBOL_DGT_MAINFRAME_TITLE, const wxPoint& pos = SYMBOL_DGT_MAINFRAME_POSITION, const wxSize& size = SYMBOL_DGT_MAINFRAME_SIZE, long style = SYMBOL_DGT_MAINFRAME_STYLE );

    /// Destructor
    ~dgt_Mainframe();

    /// Initialises member variables
    void Init();

    /// Creates the controls and sizers
    void CreateControls();

////@begin dgt_Mainframe event handler declarations
////@end dgt_Mainframe event handler declarations

////@begin dgt_Mainframe member function declarations
    /// Retrieves bitmap resources
    wxBitmap GetBitmapResource( const wxString& name );

    /// Retrieves icon resources
    wxIcon GetIconResource( const wxString& name );
////@end dgt_Mainframe member function declarations

    /// Should we show tooltips?
    static bool ShowToolTips();

////@begin dgt_Mainframe member variables
////@end dgt_Mainframe member variables
};

#endif
    // _DGT_MAINFRAME_H_
